<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>

<%@taglib prefix="decorator"  uri="http://www.opensymphony.com/sitemesh/decorator"%>
<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
     response.setHeader("Pragma", "no-cache");
     response.setHeader("Cache-Control", "no-cache");
     response.setDateHeader("Expires", 0);
%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
    <head>
    	<meta content="<s:text name="readNoteSys"/>" name="title">
		<meta content="<s:text name="readNoteSys"/>,<s:text name="popularizeKeywords"/>" name="keywords">
		<meta content="<s:text name="readNoteSys"/><s:text name="popularizeDescription"/>" name="description">
    	<link >
        <title><s:text name="readNoteSys" />
        </title>
        <!-- 通用模板css引用 -->
        <link rel="stylesheet" type="text/css" href="<%=path%>/style/template/brown/style_brown.css">
        
        <!-- 前台分页模板css引用 -->
        <link rel="stylesheet" type="text/css" href="<%=path%>/style/page/pageNumber/sytle_page_ten_note.css">
        
	    <!-- 前台通用js引用 -->
		<script type="text/javascript" src="<%=path%>/js/common.js"></script>

	    <!-- 前台通用Jquery引用 -->
		<script type="text/javascript" src="<%=path%>/js/jquery/jquery-1.4.2.js"></script>

		
        <!-- 页面Head由引用模板的子页面来替换 -->
        <decorator:head />
    </head>
    <body >
    
	<%--  
	关于项目工程名称获取
	<s:url value="/style/img/bg.jpg" ></s:url>
	<%=path%>/style/img/bg.jpg
	--%>
	
	<!-- 容器 -->    
    <div id="c">
    	<!-- 上层 -->
    	<div id="main_top">
		
		<!-- 
			2012-05-22 huxh update 暂时前台不提供共享笔记分享查看功能		
		    <span id="left_top" class="float:left">
		    	<span><a href="<s:url action="index" namespace="/center/book/" ></s:url>">共享书籍</a></span>
				<span>|</span>
			    <span><a href="<s:url action="index" namespace="/center/allUserBook" ></s:url>">所有书籍</a></span>
				<span>|</span>
			    <span><a href="<s:url action="index" namespace="/center/allUserNote" ></s:url>">所有笔记</a></span>
		    </span>
		 -->
		    
		    <span id="right_top" class="float:right">
				    
			    <s:if test="getLoginInfo().isLogin()">
					<span><a href="<s:url action="logonout" namespace="/login" />">退出</a></span>
					<span>|</span>
					<span><a href="<s:url action="index" namespace="/center/home"></s:url>">个人中心</a></span>
					<span>|</span>
					<span><a href="<s:url action="index" namespace="/center/expostulation" ></s:url>" title="记录心情">励志谏言</a></span>
					
					<span style="padding:0px 15px;">|</span>
					
					<span><a href="<s:url action="index" namespace="/center/book/" ></s:url>">共享书籍</a></span>
					<span>|</span>
				    <span><a href="<s:url action="index" namespace="/center/userBook" ></s:url>">我的书籍</a></span>
					<span>|</span>
				    <span><a href="<s:url action="index" namespace="/center/userNote" ></s:url>">我的笔记</a></span>
					<span>|</span>
				    <span><a href="<s:url action="input" namespace="/center/userNote" ></s:url>">写笔记</a></span>		
					<span>|</span>
				    <span><a href="<s:url action="index" namespace="/center/sellselfmail" ></s:url>">自我推荐</a></span>		

					<!-- 
					<li style="float: right;margin: 0;padding: 0;">
						<a href="#" title="管理" >
						管理笔记
						<ul style="margin: 0;padding: 0;list-style: none;border: 0;">
						    <li style="list-style: none;border: 0;"><a href="<s:url action="input" namespace="/center/userNote" ></s:url>">写笔记</a></li>		
						    <li><a href="<s:url action="index" namespace="/center/userNote" ></s:url>">我的笔记</a></li>
						    <li><a href="<s:url action="index" namespace="/center/userBook" ></s:url>">我的书籍</a></li>
							<li><a href="<s:url action="index" namespace="/center/book/" ></s:url>">共享书籍</a></li>
							<li><a href="<s:url action="index" namespace="/center/home"></s:url>">个人中心</a></li>
							<li><a href="<s:url action="index" namespace="/center/expostulation" ></s:url>" title="记录心情">励志谏言</a></li>
						</ul>
						</a>
					</li>
					
					 -->				
		    	</s:if>
		    	<s:else>
		    		<span><a href="<s:url action="login" namespace="/login"></s:url>">登录</a></span>
					<span>|</span>
		    		<span><a href="<s:url action="index" namespace="/register" />">注册</a></span>
		    		<span>|</span>
					<span><a target="_blank" href="<s:url action="index" namespace="/help"></s:url>" />what is readnote?</a></span>
		    	</s:else>
			    
		    </span>
		</div>
		
		<!-- 中层 -->
    	<div id="main_body">
    		<div id="tool">
    		</div>
    		<!-- 内容 -->
			<div id="content">
				<decorator:body />
			</div>
		</div>
		
		
		<!-- 下层 -->
		<div id="main_bottom">

			<div id="share" align="left" style="width: 100%;height: 40px;">
				<!-- JiaThis Button BEGIN 
				
				<div id="jiathis_style_32x32">
					<a class="jiathis_button_qzone"></a>
					<a class="jiathis_button_tsina"></a>
					<a class="jiathis_button_tqq"></a>
					<a class="jiathis_button_renren"></a>
					<a class="jiathis_button_kaixin001"></a>
				</div>
				<script type="text/javascript" >
				var jiathis_config={
					summary:"",
					hideMore:true
				}
				</script>
				<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
				-->
				
				<!-- JiaThis Button BEGIN -->
				<script type="text/javascript" >
				var jiathis_config={
					siteNum:6,
					sm:"tsina,qzone,renren,xiaoyou,douban,msn",
					summary:"",
					boldNum:6,
					showClose:true,
					hideMore:true
				}
				</script>
				<script type="text/javascript" src="http://v2.jiathis.com/code_mini/jiathis_r.js?btn=r.gif&move=1" charset="utf-8"></script>
				<!-- JiaThis Button END -->
								
			</div>
			<!--/end share button -->
		
			<div id="accessinfo" align="center" style="width: 100%;height: 20px;">
				<script type="text/javascript" src="http://gostats.cn/js/counter.js"></script>
				<script type="text/javascript">_gos='c3.gostats.cn';_goa=355791;
				_got=7;_goi=3;_goz=0;_god='hits';_gol='read note access';_GoStatsRun();</script>
				<noscript><a target="_blank" title="read note access" 
				href="#"><img alt="read note access" 
				src="http://c3.gostats.cn/bin/count/a_355791/t_7/i_3/z_0/show_hits/counter.png" 
				style="border-width:0" /></a></noscript>
			</div>
			<!-- End GoStats JavaScript Based Code -->
							
			<DIV>
				<SCRIPT type="text/javascript">
					function sendMail()	{
						document.location="mailto:huxianghua_java@163.com?subject=Feedback";
					}
				</SCRIPT>　
				<a href="mailto:huxianghua_java@163.com?subject=FeedBack" target="_blank" title="希望您将对阅读笔记平台的意见和建议告知我们.您的支持,是我们的动力."> Email 联系我们 </a>
			</DIV>				
		</div>
		
		
    </div>
    
    		
    </body>
</html>
